cover: main.o tools.h matrix.h poly.h remaindering.h
	cc main.o -o cover -lgmp

debug:
	cc main.c -o cover -g -lgmp -O0

profile: main_profile.o tools.h
	cc -pg main.o -o cover -lgmp 

main.o: main.c tools.h
	cc -c -pg main.c

main_profile.o: main.c tools.h
	cc -g -c main.c -lgmp -pg


clean:
	rm *.o cover
